package or.exa.cangguan.mapper;


import or.exa.cangguan.entity.po.Permission;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
public interface PermissionMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Permission record);

    int insertSelective(Permission record);

    Permission selectByPrimaryKey(Integer id);

    String selectPermissionById(Integer roleId);

    Integer selectId(String permission);

    int updateByPrimaryKeySelective(Permission record);

    int updateByPrimaryKey(Permission record);
}